package {
	import flash.display.Bitmap;
	import flash.display.Sprite;

	public class Coin extends Sprite {
		private var myAura:Sprite;
		[Embed(source='../assets/coinB.png')]
		public var myCoin:Class;
		public function Coin() {
			var c:Bitmap = new myCoin();
			addChild(c);
			drawAura();
		}
		private function drawAura():void{
			myAura = new Sprite;
			myAura.graphics.beginFill(0x00ff00);
			myAura.graphics.drawCircle(width/2, height/2, 40);
			addChild(myAura);
			myAura.visible = false;
		}
		public function get aura():Sprite{
			return myAura;
		}

	}
}
